Repository navigation
Conversation
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
点击「放到桌面」后,透明窗口可能已经出现,但底部宠物仍落在屏幕之外。此补丁按窗口实际所在屏幕的工作区校正落点,并记住修正后的位置;原本可见的副屏位置保持不变。
Refs #165
测试环境与结果
Windows 11 x64(构建 26200),MiniMax Code 3.1.19.232,显示缩放 150%,Node.js 22.16.0。
y=-338创建高436的窗口,宠物本体纵向为-10..94;修复版把窗口移到y=0,宠物本体为328..432,完整落在0..1019工作区。修正后的坐标已保存,停止并重新打开插件后仍可读取。dev/pet-art-validation.test.mjs的 Windows CLI 测试路径问题(URL.pathname产生重复盘符)。源码与安装包的改动文件逐字节一致。npm run check:92/92,零错误,MiniMax Pet 零警告。未验证
未在真实副屏、拔插显示器、不同 DPI 或 macOS 上复测;副屏和窄工作区只做了自动化测试。重开后确认了保存坐标,但该次第二次点击未切入
window,不把它算为又一次弹出成功。本分支源自上游main,不依赖 #164,也不修改拖拽坐标或宽度修复。剩余警告
以下 19 条全部来自未修改的包:
README_HEADING_MISSING(4):mcode-token-usage-board、mcode-usage-monitor各缺少 Tested environment 与 Data & access 标题。README_MIN_VERSION_MISSING(3):cq-viewer、xinyu-daily、anatomy-gallery的测试环境未列出所声明能力要求的最低版本。HOST_CONNECTOR_UNVERIFIED(1):ai-node-canvas的连接器授权由宿主在安装时检查,此扫描无法验证。ACCESS_UNDECLARED(1):ai-office的页面使用麦克风但未声明该权限。ENTRY_STDOUT(10):an-bot-team、h3-image-executor、workflow-console(2 条)、minimax-photo、minimax-video(5 条)的既有实现或构建产物写 stdout。权限与兼容性
没有新增权限、依赖、网络访问、宿主 API 或偏好字段。保留现有
session.read和最低 MiniMax Code 3.1.6。Written by gpt-6.2-sol
先恢复可交互状态,再尝试保存的位置。挂载在正确屏幕后读取
screen.avail*和宿主实际边界,把设计尺寸及新坐标作为一次更新发送;旧位置被拒时从宿主保留的落点计算。窗口比工作区大时优先让底部居中的宠物留在屏幕内。源码和安装包的版本统一为0.9.3;若其他 Pet PR 先后落地,以合并顺序协调版本元数据。根目录已有 MiniMax Pet 条目,不重复添加。Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.